<?php

class View extends Template {

    public function display($tFile) {
        global $_SC, $_SCONIG, $_SGLOBAL,$_TPL;
        $this->assign('_SGLOBAL', $_SGLOBAL);
        $this->assign('_SCONIG', $_SCONIG);
        $this->assign('_SC', $_SC);
        $this->assign('_TPL', $_TPL);

        parent::display($tFile);
        //更新用户session
        Session::updateSession();
        //记录执行时间
        echo '<!--execute time:' . (Utils::getMicroTime() - $_SGLOBAL['m_timestamp']) . 's-->';
    }
}
?>
